import React from 'react'
import { Outlet, NavLink } from 'react-router-dom'

import Header from '../../components/Header'

export default function Main() {
  return (
    <div>
      <Header />
      <div className="row">
        <div className="col-xs-2 col-xs-offset-2">
          <div className="list-group">
            {/* <a className="list-group-item" href="./about.html">About</a>
            <a className="list-group-item active" href="./home.html">Home</a> */}
            <NavLink className="list-group-item" to='/main/about'>About</NavLink>
            <NavLink className="list-group-item" to='/main/home'>Home</NavLink>
          </div>
        </div>
        <div className="col-xs-6">
          <div className="panel">
            <div className="panel-body">
              <Outlet />
            </div>
          </div>
        </div>
      </div>
    </div>

  )
}
